Skip to content

Misc improvements to the itertools docs#104916

Merged
rhettinger merged 3 commits intopython:mainfrom
rhettinger:itertool_doc_tweaks
May 25, 2023
Merged

Misc improvements to the itertools docs#104916
rhettinger merged 3 commits intopython:mainfrom
rhettinger:itertool_doc_tweaks

Conversation

@rhettinger
Copy link
Contributor

@rhettinger rhettinger commented May 25, 2023

  • Update the accumulate example to show the initial parameter, demonstrate use of repeat, and clean-up the output with round()
  • Note that lru_cache can be used with partition.
  • Add polynomial_derivative to demonstrate map with operator.mul.

📚 Documentation preview 📚: https://cpython-previews--104916.org.readthedocs.build/

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants